home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000081_news@newsmaster….columbia.edu _Tue Jan 5 10:54:03 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  11KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA15350
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 5 Jan 1999 10:54:02 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA14158
  7.     for kermit.misc@watsun; Tue, 5 Jan 1999 10:54:01 -0500 (EST)
  8. Path: news.columbia.edu!sol.ctr.columbia.edu!news.mindlink.net!paralynx!paralynx-2!van-bc!paralynx!paralynx-3!paralynx!paralynx-1!cyclone.bc.net!news.maxwell.syr.edu!nntp.news.xara.net!xara.net!news.itg.net.uk!usenet
  9. From: "Tim Hedger" <news@hedger.globalnet.co.uk>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Problem building Kermit for Linux (Redhat 5.2)
  12. Date: Tue, 5 Jan 1999 15:50:25 -0000
  13. Lines: 202
  14. Message-ID: <76tcce$f8b$1@newnews.global.net.uk>
  15. NNTP-Posting-Host: 195.147.137.47
  16. X-Newsreader: Microsoft Outlook Express 4.72.3110.1
  17. X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:9711
  19.  
  20. I've downloaded the latest version of kermit (release 192) for linux from
  21. mit.columbia.edu, and tried to build it under Linux on my PC.
  22.  
  23. I'm getting all sorts of compilation errors when I try to build (using make
  24. linux) to do with duplicate symbols.  The only reference to expected
  25. compilation errors I can find in the documentation, is to do with the file
  26. serial.h - but my errors are different from this (and I've tried the fix
  27. suggested for this - which doesn't make any difference).
  28.  
  29. Has anyone had a similar problem - who can offer me advice on what to do ?
  30.  
  31. Output from make linux:
  32. ===============================================================
  33. Making C-Kermit "6.0.192" for Linux...
  34. IMPORTANT: Read the comments in the linux section of the
  35. makefile if you get compilation or link errors.
  36. make wermit "CC = gcc" "CC2 = gcc" \
  37. "CFLAGS = -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG \
  38. -DBIGBUFOK -DTCPSOCKET -DLINUXFSSTND " \
  39. "LNKFLAGS = " "LIBS = -lcurses -ltermcap"
  40. make[1]: Entering directory `/usr/local/bin/kermit192'
  41. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  42. -DLINUXFSSTND    -c ckcmai.c -o ckcmai.o
  43. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  44. -DLINUXFSSTND    -c ckucmd.c -o ckucmd.o
  45. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  46. -DLINUXFSSTND    -c ckuusr.c -o ckuusr.o
  47. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  48. -DLINUXFSSTND    -c ckuus2.c -o ckuus2.o
  49. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  50. -DLINUXFSSTND    -c ckuus3.c -o ckuus3.o
  51. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  52. -DLINUXFSSTND    -c ckuus4.c -o ckuus4.o
  53. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  54. -DLINUXFSSTND    -c ckuus5.c -o ckuus5.o
  55. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  56. -DLINUXFSSTND    -c ckuus6.c -o ckuus6.o
  57. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  58. -DLINUXFSSTND    -c ckuus7.c -o ckuus7.o
  59. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  60. -DLINUXFSSTND    -c ckuusx.c -o ckuusx.o
  61. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  62. -DLINUXFSSTND    -c ckuusy.c -o ckuusy.o
  63. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  64. -DLINUXFSSTND    -c ckwart.c -o ckwart.o
  65. gcc  -o wart ckwart.o -lcurses -ltermcap
  66. ./wart ckcpro.w ckcpro.c
  67. 14 states, 61 actions
  68. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  69. -DLINUXFSSTND    -c ckcpro.c -o ckcpro.o
  70. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  71. -DLINUXFSSTND    -c ckcfns.c -o ckcfns.o
  72. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  73. -DLINUXFSSTND    -c ckcfn2.c -o ckcfn2.o
  74. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  75. -DLINUXFSSTND    -c ckcfn3.c -o ckcfn3.o
  76. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  77. -DLINUXFSSTND    -c ckuxla.c -o ckuxla.o
  78. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  79. -DLINUXFSSTND    -c ckucon.c -o ckucon.o
  80. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK -DTCPSOCKET 
  81. -DLINUXFSSTND    -c ckutio.c -o ckutio.o
  82. In file included from /usr/include/linux/net.h:23,
  83.                  from /usr/include/linux/fs.h:15,
  84.                  from ckutio.c:668:
  85. /usr/include/linux/socket.h:38: warning: `SCM_RIGHTS' redefined
  86. /usr/include/socketbits.h:222: warning: this is the location of the previous
  87. definition
  88. /usr/include/linux/socket.h:41: warning: `SOCK_STREAM' redefined
  89. /usr/include/socketbits.h:40: warning: this is the location of the previous
  90. definition
  91. /usr/include/linux/socket.h:42: warning: `SOCK_DGRAM' redefined
  92. /usr/include/socketbits.h:43: warning: this is the location of the previous
  93. definition
  94. /usr/include/linux/socket.h:43: warning: `SOCK_RAW' redefined
  95. /usr/include/socketbits.h:45: warning: this is the location of the previous
  96. definition
  97. /usr/include/linux/socket.h:44: warning: `SOCK_RDM' redefined
  98. /usr/include/socketbits.h:47: warning: this is the location of the previous
  99. definition
  100. /usr/include/linux/socket.h:45: warning: `SOCK_SEQPACKET' redefined
  101. /usr/include/socketbits.h:50: warning: this is the location of the previous
  102. definition
  103. /usr/include/linux/socket.h:46: warning: `SOCK_PACKET' redefined
  104. /usr/include/socketbits.h:54: warning: this is the location of the previous
  105. definition
  106. /usr/include/linux/socket.h:53: warning: `AF_UNSPEC' redefined
  107. /usr/include/socketbits.h:82: warning: this is the location of the previous
  108. definition
  109. /usr/include/linux/socket.h:54: warning: `AF_UNIX' redefined
  110. /usr/include/socketbits.h:84: warning: this is the location of the previous
  111. definition
  112. /usr/include/linux/socket.h:55: warning: `AF_INET' redefined
  113. /usr/include/socketbits.h:86: warning: this is the location of the previous
  114. definition
  115. /usr/include/linux/socket.h:56: warning: `AF_AX25' redefined
  116. /usr/include/socketbits.h:87: warning: this is the location of the previous
  117. definition
  118. /usr/include/linux/socket.h:57: warning: `AF_IPX' redefined
  119. /usr/include/socketbits.h:88: warning: this is the location of the previous
  120. definition
  121. /usr/include/linux/socket.h:58: warning: `AF_APPLETALK' redefined
  122. /usr/include/socketbits.h:89: warning: this is the location of the previous
  123. definition
  124. /usr/include/linux/socket.h:59: warning: `AF_NETROM' redefined
  125. /usr/include/socketbits.h:90: warning: this is the location of the previous
  126. definition
  127. /usr/include/linux/socket.h:60: warning: `AF_BRIDGE' redefined
  128. /usr/include/socketbits.h:91: warning: this is the location of the previous
  129. definition
  130. /usr/include/linux/socket.h:61: warning: `AF_AAL5' redefined
  131. /usr/include/socketbits.h:92: warning: this is the location of the previous
  132. definition
  133. /usr/include/linux/socket.h:62: warning: `AF_X25' redefined
  134. /usr/include/socketbits.h:93: warning: this is the location of the previous
  135. definition
  136. /usr/include/linux/socket.h:66: warning: `AF_ROSE' redefined
  137. /usr/include/socketbits.h:95: warning: this is the location of the previous
  138. definition
  139. /usr/include/linux/socket.h:67: warning: `AF_MAX' redefined
  140. /usr/include/socketbits.h:103: warning: this is the location of the previous
  141. definition
  142. /usr/include/linux/socket.h:68: warning: `AF_PACKET' redefined
  143. /usr/include/socketbits.h:102: warning: this is the location of the previous
  144. definition
  145. /usr/include/linux/socket.h:71: warning: `PF_UNSPEC' redefined
  146. /usr/include/socketbits.h:58: warning: this is the location of the previous
  147. definition
  148. /usr/include/linux/socket.h:72: warning: `PF_UNIX' redefined
  149. /usr/include/socketbits.h:60: warning: this is the location of the previous
  150. definition
  151. /usr/include/linux/socket.h:73: warning: `PF_INET' redefined
  152. /usr/include/socketbits.h:62: warning: this is the location of the previous
  153. definition
  154. /usr/include/linux/socket.h:74: warning: `PF_AX25' redefined
  155. /usr/include/socketbits.h:63: warning: this is the location of the previous
  156. definition
  157. /usr/include/linux/socket.h:75: warning: `PF_IPX' redefined
  158. /usr/include/socketbits.h:64: warning: this is the location of the previous
  159. definition
  160. /usr/include/linux/socket.h:76: warning: `PF_APPLETALK' redefined
  161. /usr/include/socketbits.h:65: warning: this is the location of the previous
  162. definition
  163. /usr/include/linux/socket.h:77: warning: `PF_NETROM' redefined
  164. /usr/include/socketbits.h:66: warning: this is the location of the previous
  165. definition
  166. /usr/include/linux/socket.h:78: warning: `PF_BRIDGE' redefined
  167. /usr/include/socketbits.h:67: warning: this is the location of the previous
  168. definition
  169. /usr/include/linux/socket.h:79: warning: `PF_AAL5' redefined
  170. /usr/include/socketbits.h:68: warning: this is the location of the previous
  171. definition
  172. /usr/include/linux/socket.h:80: warning: `PF_X25' redefined
  173. /usr/include/socketbits.h:69: warning: this is the location of the previous
  174. definition
  175. /usr/include/linux/socket.h:84: warning: `PF_ROSE' redefined
  176. /usr/include/socketbits.h:71: warning: this is the location of the previous
  177. definition
  178. /usr/include/linux/socket.h:85: warning: `PF_MAX' redefined
  179. /usr/include/socketbits.h:79: warning: this is the location of the previous
  180. definition
  181. /usr/include/linux/socket.h:86: warning: `PF_PACKET' redefined
  182. /usr/include/socketbits.h:78: warning: this is the location of the previous
  183. definition
  184. /usr/include/linux/socket.h:91: warning: `MSG_OOB' redefined
  185. /usr/include/socketbits.h:137: warning: this is the location of the previous
  186. definition
  187. /usr/include/linux/socket.h:92: warning: `MSG_PEEK' redefined
  188. /usr/include/socketbits.h:139: warning: this is the location of the previous
  189. definition
  190. /usr/include/linux/socket.h:93: warning: `MSG_DONTROUTE' redefined
  191. /usr/include/socketbits.h:141: warning: this is the location of the previous
  192. definition
  193. /usr/include/linux/socket.h:95: warning: `MSG_PROXY' redefined
  194. /usr/include/socketbits.h:145: warning: this is the location of the previous
  195. definition
  196. In file included from /usr/include/linux/net.h:23,
  197.                  from /usr/include/linux/fs.h:15,
  198.                  from ckutio.c:668:
  199. /usr/include/linux/socket.h:9: redefinition of `struct sockaddr'
  200. /usr/include/linux/socket.h:14: redefinition of `struct linger'
  201. /usr/include/linux/socket.h:26: redefinition of `struct msghdr'
  202. ckutio.c: In function `ttsspd':
  203. ckutio.c:4679: `TIOCGSERIAL' undeclared (first use this function)
  204. ckutio.c:4679: (Each undeclared identifier is reported only once
  205. ckutio.c:4679: for each function it appears in.)
  206. ckutio.c:4685: `TIOCSSERIAL' undeclared (first use this function)
  207. ckutio.c: In function `ttgspd':
  208. ckutio.c:4833: `TIOCGSERIAL' undeclared (first use this function)
  209. ckutio.c: In function `in_chk':
  210. ckutio.c:6092: warning: passing arg 3 of `select' from incompatible pointer
  211. type
  212. ckutio.c:6092: warning: passing arg 4 of `select' from incompatible pointer
  213. type
  214. make[1]: *** [ckutio.o] Error 1
  215. make[1]: Leaving directory `/usr/local/bin/kermit192'
  216. make: *** [linux] Error 2
  217.  
  218.  
  219.  
  220.  
  221.